	function get_xml($title, $data){
		$colors = array(
			'#1190FF', '#FF8C00', '#008000', '#3E3E00', '#A13800', '#00FFFF',
			'#000080', '#4682B4', '#800000', '#FF1493', '#F4A460', '#F08080',
			'#808000', '#008080', '#800080', '#DDA0DD', '#B22222', '#A4FF2F',
			'#550000', '#AA0000', '#FF0000', '#000000', '#5A3A00', '#AAAAAA',
			'#005500', '#00AA00', '#00FF00', '#000055', '#0000AA', '#0000FF',
			'#555500', '#AAAA00', '#FFFF00', '#550055', '#AA00AA', '#FF00FF',
			'#005555', '#00AAAA', '#555555',
		);
		$color_index = 0;
		foreach($data as $idx=>$one){
			$tmp = ($color_index===0)
				? "<categories>"
				: "<dataset color='".$colors[$color_index]."' seriesname='".$idx."'>";
			array_unshift($one, $tmp);
			foreach($one as $i=>$v) {
				if($i===0) continue;
				$one[$i] = ($color_index===0) 
					? "<category name='".$one[$i]."' />"
					: "<set value='".$one[$i]."' />";
			}
			$strXML .= join($one, '') . ($color_index===0 ? '</categories>' : '</dataset>');
			$color_index++;
		}
		return "<graph caption='".$title."' yAxisMinValue='250000' showValues='0' showAlternateHGridColor='1' alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='FC9D02' baseFontColor='FC9D02' lineColor='FCB541' baseFontSize='12' rotateNames='1' numdivlines='7' numVdivlines='0' showAnchors='1' showValue='1' lineThickness='2'>" . $strXML . "</graph>";
	}
